home *** CD-ROM | disk | FTP | other *** search
- {*******************************************************************
-
- GEDITOR.INT
-
- *******************************************************************}
- CONST
- SaveClipCtx : word = hcNoContext ; { ClipBoard }
- ClipWindow : PEditWindow = NIL ; { ClipBoard }
- Default_Word_Wrap : boolean = TRUE ; { "OpenEditor" }
- Default_Line_Length : integer = 70 ; { "OpenEditor" }
- {|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- EDITOR
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||}
- procedure SaveEdModified ;
- procedure SaveEdUntitled ;
- procedure CloseEdUntitled ;
- procedure FirstExtent ( VAR R : TRect ) ;
- procedure FirstExtentEd ( VAR R : TRect ) ;
- function WinNumExist ( WinNum : integer ) : boolean ;
- function NextWinNum : integer ;
- function OpenEditor ( FileName : FNameStr ;
- Visible : boolean ) : PEditWindow ;
- procedure CreateClipboard ;
- procedure DisposeClipboard ;
- {|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- BUFFERS
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||}
- function HeapParagraphs : word ;
- procedure ReserveForData ( Paragraphs : word ) ;
- procedure ReserveForEditor ( Paragraphs : word ) ;
- {|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- EDITOR
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||}
- function IsEdit ( P : PView ) : boolean ;
- function IsEditEmpty ( P : PView ) : boolean ;
- function IsTextSelected ( P : PView ) : boolean ;
- function GetNameEdit ( P : PView ) : string ;
- function IsUntitled ( P : PView ) : boolean ;
- function IsClipboard ( P : PView ) : boolean ;
- function FirstEd : pointer ;
- function ExistEditor : boolean ;
- function ExistEdName ( S : string ) : pointer ;
- {|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- CURRENT
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||}
- function EdIsCurrent : boolean ;
- function NameCurrent : string ;
- function UntitledIsCurrent : boolean ;
- function ClipIsCurrent : boolean ;
- function DialogIsCurrent : boolean ;
- function HelpIsCurrent : boolean ;
-